package com.wyzz.hr.pojo.base;

import java.io.Serializable;

import com.wyzz.hr.pojo.Empaddconf;

public abstract class BaseEmpaddconf implements Serializable {

	public BaseEmpaddconf() {
		hashCode = 0x80000000;
		initialize();
	}

	public BaseEmpaddconf(String eadcId) {
		hashCode = 0x80000000;
		setEadcId(eadcId);
		initialize();
	}

	protected void initialize() {
	}

	public String getEadcId() {
		return eadcId;
	}

	public void setEadcId(String eadcId) {
		this.eadcId = eadcId;
		hashCode = 0x80000000;
	}

	public String getEadcTableName() {
		return eadcTableName;
	}

	public void setEadcTableName(String eadcTableName) {
		this.eadcTableName = eadcTableName;
	}

	public Integer getEadcSeq() {
		return eadcSeq;
	}

	public void setEadcSeq(Integer eadcSeq) {
		this.eadcSeq = eadcSeq;
	}

	public String getEadcFieldType() {
		return eadcFieldType;
	}

	public void setEadcFieldType(String eadcFieldType) {
		this.eadcFieldType = eadcFieldType;
	}

	public String getEadcFieldValue() {
		return eadcFieldValue;
	}

	public void setEadcFieldValue(String eadcFieldValue) {
		this.eadcFieldValue = eadcFieldValue;
	}

	public String getEadcComments() {
		return eadcComments;
	}

	public void setEadcComments(String eadcComments) {
		this.eadcComments = eadcComments;
	}

	public boolean equals(Object obj) {
		if (null == obj)
			return false;
		if (!(obj instanceof Empaddconf))
			return false;
		Empaddconf empaddconf = (Empaddconf) obj;
		if (null == getEadcId() || null == empaddconf.getEadcId())
			return false;
		else
			return getEadcId().equals(empaddconf.getEadcId());
	}

	public int hashCode() {
		if (0x80000000 == hashCode) {
			if (null == getEadcId())
				return super.hashCode();
			String hashStr = (new StringBuilder()).append(getClass().getName())
					.append(":").append(getEadcId().hashCode()).toString();
			hashCode = hashStr.hashCode();
		}
		return hashCode;
	}

	public String toString() {
		return super.toString();
	}

	public String getEadcFieldName() {
		return eadcFieldName;
	}

	public void setEadcFieldName(String eadcFieldName) {
		this.eadcFieldName = eadcFieldName;
	}

	public static String REF = "Empaddconf";
	public static String PROP_EADC_FIELD_TYPE = "eadcFieldType";
	public static String PROP_EADC_TABLE_NAME = "eadcTableName";
	public static String PROP_EADC_COMMENTS = "eadcComments";
	public static String PROP_EADC_ID = "eadcId";
	public static String PROP_EADC_FIELD_VALUE = "eadcFieldValue";
	public static String PROP_EADC_FIELD_NAME = "eadcFieldName";
	public static String PROP_EADC_SEQ = "eadcSeq";
	private int hashCode;
	private String eadcId;
	private String eadcTableName;
	private Integer eadcSeq;
	private String eadcFieldType;
	private String eadcFieldValue;
	private String eadcComments;
	private String eadcFieldName;

}
